<template>
  <div>
    <el-pagination
      background
      layout="prev, pager, next"
      @current-change="currentChange"
      :page-size="pageSize"
      :total="pageTotal">
    </el-pagination>
  </div>
</template>

<script>

  export default {
    name:'Pageination',
    props:{
      pageTotal:null,
      pageSize:null
    },
    methods:{
      currentChange(val){
        this.$emit('currentChange',val)
      }
    },
  }

</script>


<style>

</style>
